IPAddRoute


C Specification

#include <dolphin/ip.h>

BOOL IPAddRoute ( const u8* dst, const u8* netmask, const u8* gateway );

Description

IPInitRoute() adds the specified data to the routing table.

Arguments

dst The destination IP address.
netmask The netmask for the destination address.
gateway The gateway address for the destination. Specify IPAddrAny if a router is not required.

Return Values

TRUE if the routing table is configured successfully.

See Also